using System.Diagnostics;
using Blackbird.Common.Utility;
using Blackbird.Core.Editable.Frames;
using Microsoft.Xna.Framework.Content.Pipeline;

namespace Blackbird.Pipeline {
    /// <summary>
    /// This importer will import an editable frameset.
    /// </summary>
    [ContentImporter(".fst", DisplayName = "Frameset Importer", DefaultProcessor = "FramesetProcessor")]
    public class FramesetImporter : ContentImporter<EditableFrameset> {
        public override EditableFrameset Import(string filename, ContentImporterContext context)
        {
            
            return SerializationUtility.CreateFromFile<EditableFrameset>(filename);
        }
    }
}
